﻿using System;
using KPIS.GERP.GIMS.MODEL;
using System.Collections.Generic;
using KPIS.DBM;

namespace KPIS.GERP.GIMS.IDAL
{
    public interface IDALPrePurchaseRequestRoute
    {
        string Insert(PrePurchaseRequestRouteInfo info);

        void Insert(IList<PrePurchaseRequestRouteInfo> ListInfo);

        void Insert(IList<PrePurchaseRequestRouteInfo> ListInfo, int PrePurchaseRequestSeq, int UserId, IDBManager dbManagerTrans);

        void Update(PrePurchaseRequestRouteInfo info);

        void DeleteAll(IList<PrePurchaseRequestRouteInfo> ListInfo, IDBManager dbManagerTrans);

        //void CopyToHistory(IList<PrePurchaseRequestRouteInfo> ListInfo, int UserId, IDBManager dbManagerTrans);

        IList<PrePurchaseRequestRouteInfo> GetPrePurchaseRequestRoute(PrePurchaseRequestInfo InfoPpr);

        IList<PrePurchaseRequestRouteInfo> GetPrePurchaseRequestRoute(int PrePurchaseRequestSeq, IDBManager dbManagerTrans);
    }
}
